import { Outlet } from 'react-router'
import './index.sass'
const Main = () => {
    return (
        <div style={{display: 'flex',width: '100vw',height: '100vh'}}>
            <nav>导航栏</nav>
            <main style={{display:'flex',flexDirection: 'column',width: '100%'}}>
                <header>头部</header>
                <div className='Outlet'>
                    <Outlet />
                </div>
            </main>
        </div>
    )
}

export default Main;